package com.chenglai.order.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Jiang
 * @create 2023-11-17 14:24:33 
 */
@ApiModel( value ="t_cl_order" )
@Table( name ="t_cl_order" )
public class Order  implements Serializable {

    @Id
   	@Column(name = "order_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer orderId;

	/**
	 * 订单号
	 */
   	@Column(name = "order_num" )
	@ApiModelProperty( value="订单号")
	private String orderNum;

	/**
	 * 商品ID
	 */
   	@Column(name = "product_id" )
	@ApiModelProperty( value="商品ID")
	private Integer productId;

	/**
	 * 数量
	 */
   	@Column(name = "product_num" )
	@ApiModelProperty( value="数量")
	private Integer productNum;

	/**
	 * 单价
	 */
   	@Column(name = "product_price" )
	@ApiModelProperty( value="单价")
	private Double productPrice;

	/**
	 * 总价
	 */
   	@Column(name = "order_sum" )
	@ApiModelProperty( value="总价")
	private Double orderSum;

	/**
	 * 规格ID
	 */
   	@Column(name = "formart_id" )
	@ApiModelProperty( value="规格ID")
	private Integer formartId;

	/**
	 * 是否评论过
	 */
   	@Column(name = "comment_status" )
	@ApiModelProperty( value="是否评论过")
	private Integer commentStatus;

	/**
	 * 商品名称
	 */
   	@Column(name = "product_name" )
	@ApiModelProperty( value="商品名称")
	private String productName;

	/**
	 * 备注
	 */
   	@Column(name = "order_note" )
	@ApiModelProperty( value="备注")
	private String orderNote;
	/**
	 * 门店ID
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="备注")
	private Integer shopId;

  public Integer getOrderId() {
    return orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }


  public String getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(String orderNum) {
    this.orderNum = orderNum;
  }


  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public Integer getProductNum() {
    return productNum;
  }

  public void setProductNum(Integer productNum) {
    this.productNum = productNum;
  }


  public Double getProductPrice() {
    return productPrice;
  }

  public void setProductPrice(Double productPrice) {
    this.productPrice = productPrice;
  }


  public Double getOrderSum() {
    return orderSum;
  }

  public void setOrderSum(Double orderSum) {
    this.orderSum = orderSum;
  }


  public Integer getFormartId() {
    return formartId;
  }

  public void setFormartId(Integer formartId) {
    this.formartId = formartId;
  }


  public Integer getCommentStatus() {
    return commentStatus;
  }

  public void setCommentStatus(Integer commentStatus) {
    this.commentStatus = commentStatus;
  }


  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }


  public String getOrderNote() {
    return orderNote;
  }

  public void setOrderNote(String orderNote) {
    this.orderNote = orderNote;
  }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
}
